IMotion.GetAxisMotionState method

Gets the state of the axis in connection with the motion currently in progress.

Namespace: IntervalZero.KINGSTAR.Base.Api

Assembly: IntervalZero.KINGSTAR.Base.Api (in IntervalZero.KINGSTAR.Base.dll) Version: 4.4.0.0

Syntax

C#VB
KsReturn<McStateDirection> GetAxisMotionState(
       int Index
)
Function GetAxisMotionState(
       Index As Integer
) As KsReturn(Of McStateDirection)

Parameters

Index [in]

Type: int

The index of an axis. Indexes are zero based. Aliases affect this parameter.

Return value

Type: KsReturn<McStateDirection>

Returns a KsError code and an McStateDirection value.

Examples

C#
N/A

See also

IMotion Interface

IntervalZero.KINGSTAR.Base.Api Namespace